<template>
  <div class="link">
    <router-link to="/game">Game</router-link>
  </div>
  <div class="link">
    <router-link to="/lit">Lit</router-link>
  </div>
  <div class="index-page">{{ msg }}</div>
  <hello-world :items="items" />
</template>

<script setup lang="ts">
import HelloWorld from '@/components/HelloWorld.vue'
import { ref } from 'vue'

const msg = ref('hello world')
const items = ref([
  '假如我是一只鸟',
  '我也就应用嘶哑的喉咙歌唱',
  '这被暴风雨所打击的土地',
  '这永远汹涌着我们的悲愤的河流',
  '这无止息地吹刮着的激怒的风',
  '和那来自林间的无比温柔的黎明…',
  '——然后我死了'
])
</script>

<style lang="scss" scoped>
.index-page {
  display: grid;
  font-size: 30px;
  text-shadow: 5px 5px 5px red;
}
.link {
  padding: 20px;
  text-align: center;
  font-size: 36px;
}
</style>
